﻿using System.Collections.Generic;
using Windows.UI.Xaml;
using com.IronOne.BoardPACWinAppBO.Paper;
using GalaSoft.MvvmLight;

namespace com.IronOne.BoardPACWinAppBO.Meeting
{
    public class NewsAndSharedDocModel : ObservableObject
    {
        public List<PaperModel> NewsItems { get; set; }
        public List<PaperModel> SharedDocs { get; set; }
        public string PageHeading { get; set; }
        public string PageSubHeading { get; set; }
        //public double ItemsListFlyoutWidth { get; set; }

        public const string ItemsListFlyoutWidthPropertyName = "ItemsListFlyoutWidth";
        public double _itemsListFlyoutWidth { get; set; }
        /// <summary>
        ///     Sets and gets the ItemsListFlyoutWidth property.
        ///     Changes to that property's value raise the PropertyChanged event.
        /// </summary>
        public double ItemsListFlyoutWidth
        {
            get { return _itemsListFlyoutWidth; }

            set
            {
                if (_itemsListFlyoutWidth == value)
                {
                    return;
                }

                _itemsListFlyoutWidth = value;
                RaisePropertyChanged(ItemsListFlyoutWidthPropertyName);
            }
        }

        public List<PaperModel> NewsSharedDocsList { get; set; }
        public int NewComments { get; set; }
        public int NewPapers { get; set; }
        public string SidebarHeading { get; set; }
        public Visibility ListVisitibility { get; set; }
        public Visibility GridVisibility { get; set; }

        #region Past papers search variables

        /// <summary>
        ///     used for the past paper search
        /// </summary>
        public string PpDocTypeIconPath { get; set; }

        /// <summary>
        ///     used for the past paper search
        /// </summary>
        public string PpMeetingDateDisplay { get; set; }

        /// <summary>
        ///     used for the past paper search
        /// </summary>
        public string PpMeetingSubCategory { get; set; }

        /// <summary>
        ///     used for the past paper search
        /// </summary>
        public string PpPaperStatusValue { get; set; }

        /// <summary>
        ///     used for the past paper search
        /// </summary>
        public string PpPaperRefNo { get; set; }

        #endregion

        
    }
}